//-*-CSharp-*-
// Copyright 2009 Frank van Dijk
// This file is part of Taps.
//
// Taps is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// Taps is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
// License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with Taps.  If not, see <http://www.gnu.org/licenses/>.
//
// You are granted an "additional permission" (as defined by section 7
// of the GPL) regarding the use of this software in automated test
// scripts; see the COPYING.EXCEPTION file for details.

using Taps;

using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
class TestIsDeeply: TAP  {

    static int Main() {
        Plan(6);
        IsDeeply(1,1,"single");
        IsDeeply(1,2,"single but wrong");
        IsDeeply(new []{1,2,3},new List<int>{1,2,3});
        IsDeeply(new[]{1,2},new[]{1,2,3},"got is shorter");
        IsDeeply(new[]{1,2,3},new[]{1,2},"expected is shorter");
        IsDeeply(new[]{1,2,3},new[]{1,2,4},"3rd element is different");
        return 0;
    }
    
}

